package com.yungee.common.enums;

public enum BizExceptionEnum implements BaseErrorInfoInterface {
	// 数据操作错误定义
	SUCCESS("00000", "成功!"),
	PARAM_NOT_MATCH("10000","参数不匹配!"),
	SYS_ERROR("50000","系统错误!"),
	;

	/** 错误码 */
	private String resultCode;

	/** 错误描述 */
	private String resultMsg;

	BizExceptionEnum(String resultCode, String resultMsg) {
		this.resultCode = resultCode;
		this.resultMsg = resultMsg;
	}

	@Override
	public String getResultCode() {
		return resultCode;
	}

	@Override
	public String getResultMsg() {
		return resultMsg;
	}

}